package com.shhm.admin.service;

import com.shhm.common.dto.request.RequestList;
import com.shhm.common.dto.request.admin.RolePermsReq;
import com.shhm.common.dto.request.admin.SysUserRoleReq;
import com.shhm.common.dto.response.AjaxResultPlus;
import com.shhm.common.dto.response.admin.SysRoleOperatePermsVO;
import com.shhm.common.dto.response.admin.SysUserRoleVO;
import com.shhm.common.entity.admin.SysRoleOperatePerms;
import jakarta.servlet.http.HttpServletRequest;

/**
 * @author JackZ
 * @version 1.0
 * @description: TODO
 * @date 2025/8/15 下午2:32
 */
public interface RoleOperatePermsService {
    AjaxResultPlus pageSearchList(Integer pageNum, Integer pageSize, SysRoleOperatePermsVO entity);

    AjaxResultPlus pageList(Integer pageNum, Integer pageSize, HttpServletRequest request);

    @Deprecated
    AjaxResultPlus add(SysRoleOperatePerms entity);


    AjaxResultPlus update(SysRoleOperatePerms entity);

    AjaxResultPlus add(RolePermsReq entity);
    @Deprecated
    AjaxResultPlus update(RolePermsReq entity);

    AjaxResultPlus delete(RequestList ids);
}
